<?php
include($folder.'/layouts/code-behind/frontend.php');
$id = 'main';
$content['welcomeText'] = queryScalar('SELECT content FROM information WHERE id=5', null);
function blc_mainpictures_select($from, $itemsPerPage)
{
	$tableData = query('SELECT picture_id AS pictureID FROM mainpicture LIMIT 0,4', null);
	$i = 0;
	foreach ($tableData as &$item) 
	{
		if ($i===0)
		{
			$item['transparency'] = '';
		} else {
			$item['transparency'] = 'filter:alpha(opacity=0);opacity: 0.0;-moz-opacity:0.0';
		}
		$item['i'] = $i++;
	}
	return $tableData;
}
$master['action'] = null;
$master['attributes'] = null;
$master['pageTitle'] = '';
?>